package com.xiang.sql;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.xiang.sql.mapper.AddrMapper;
import com.xiang.sql.mapper.GoodsMapper;
import com.xiang.sql.mapper.GoodsTypeMapper;
import com.xiang.sql.mapper.GroupMapper;
import com.xiang.sql.mapper.MsgMapper;
import com.xiang.sql.mapper.OrderMapper;
import com.xiang.sql.mapper.OrderStockMapper;
import com.xiang.sql.mapper.PrizeMapper;
import com.xiang.sql.mapper.PrizeGroupMapper;
import com.xiang.sql.mapper.SettingMapper;
import com.xiang.sql.mapper.StockMapper;
import com.xiang.sql.mapper.StockLogMapper;
import com.xiang.sql.mapper.TaskMapper;
import com.xiang.sql.mapper.TransferMapper;
import com.xiang.sql.mapper.UploadMapper;
import com.xiang.sql.mapper.UserMapper;
import com.xiang.sql.mapper.VoucherMapper;

@Component
public class StaticMapper {

  public static AddrMapper addr;

  @Autowired
  public void setAddr(AddrMapper param) {
    addr = param;
  }

  public static GoodsMapper goods;

  @Autowired
  public void setGoods(GoodsMapper param) {
    goods = param;
  }

  public static GoodsTypeMapper goodsType;

  @Autowired
  public void setGoodsType(GoodsTypeMapper param) {
    goodsType = param;
  }

  public static GroupMapper group;

  @Autowired
  public void setGroup(GroupMapper param) {
    group = param;
  }

  public static MsgMapper msg;

  @Autowired
  public void setMsg(MsgMapper param) {
    msg = param;
  }

  public static OrderMapper order;

  @Autowired
  public void setOrder(OrderMapper param) {
    order = param;
  }

  public static OrderStockMapper orderStock;

  @Autowired
  public void setOrderStock(OrderStockMapper param) {
    orderStock = param;
  }

  public static PrizeMapper prize;

  @Autowired
  public void setPrize(PrizeMapper param) {
    prize = param;
  }

  public static PrizeGroupMapper prizeGroup;

  @Autowired
  public void setPrizeGroup(PrizeGroupMapper param) {
    prizeGroup = param;
  }

  public static SettingMapper setting;

  @Autowired
  public void setSetting(SettingMapper param) {
    setting = param;
  }

  public static StockMapper stock;

  @Autowired
  public void setStock(StockMapper param) {
    stock = param;
  }

  public static StockLogMapper stockLog;

  @Autowired
  public void setStockLog(StockLogMapper param) {
    stockLog = param;
  }

  public static TaskMapper task;

  @Autowired
  public void setTask(TaskMapper param) {
    task = param;
  }

  public static TransferMapper transfer;

  @Autowired
  public void setTransfer(TransferMapper param) {
    transfer = param;
  }

  public static UploadMapper upload;

  @Autowired
  public void setUpload(UploadMapper param) {
    upload = param;
  }

  public static UserMapper user;

  @Autowired
  public void setUser(UserMapper param) {
    user = param;
  }

  public static VoucherMapper voucher;

  @Autowired
  public void setVoucher(VoucherMapper param) {
    voucher = param;
  }
}